home *** CD-ROM | disk | FTP | other *** search
/ Chop Suey / Chop Suey (1995)(Magnet Interactive Studios).iso / common / table.dir / 00026.ls < prev    next >
Encoding:
Text File  |  1995-06-16  |  1012 b   |  23 lines

  1. on exitFrame
  2.   generalTimer()
  3.   set cupcake_list to [673, 693, 1432, 1458, 2190, 2215]
  4.   set cupchorus_list to [10, 20, 40, 51, 72, 86, 135, 155, 168, 193, 264, 279, 323, 347, 360, 386, 459, 483, 521, 545, 557, 579, 771, 845, 859, 904, 933, 945, 967, 1032, 1047, 1095, 1118, 1131, 1153, 1225, 1239, 1282, 1308, 1322, 1343, 1546, 1610, 1622, 1673, 1696, 1708, 1732, 1797, 1811, 1858, 1882, 1895, 1919, 1987, 2001, 2045, 2069, 2083, 2105]
  5.   set counter_cupchorus to 1
  6.   set counter_cup to 1
  7.   set x to the castNum of sprite 11
  8.   set AudioMovie to the name of cast x
  9.   set AudioMovieEnd to the duration of cast AudioMovie
  10.   repeat while (the movieTime of sprite 11 < AudioMovieEnd) and not (the mouseDown)
  11.     BounceHat(20)
  12.     CakeBlink()
  13.     set counter_cupchorus to AnimateCupcakesChorus(cupchorus_list, counter_cupchorus)
  14.     set counter_cup to AnimateCupCakes(cupcake_list, counter_cup)
  15.     updateStage()
  16.   end repeat
  17.   puppetSprite(20, 0)
  18.   puppetSprite(21, 0)
  19.   setLocalStage()
  20.   go("P2")
  21.   UpDateBook()
  22. end
  23.